import request from '@/utils/request'


  // 查询料仓曲面
  export function getSurface(data) {
    return request({
      url: '/radarResult/getSurface',
      method: 'post',
      data: data
    })
  }

  export function selectSiloResult(data) {
    return request({
      url: '/radarResult/list',
      method: 'get',
      params: data
    })
  }

    //料仓添加
    export function addSiloResult(data) {
      return request({
        url: '/radarResult',
        method: 'post',
        data: data
      })
    }
  
    //料仓修改
    export function updateSiloResult(data) {
      return request({
        url: '/radarResult',
        method: 'put',
        data: data
      })
    }
  
      
    // 删除料仓
    export function delSiloResult(resultIds) {
      return request({
        url: '/radarResult/' + resultIds,
        method: 'delete'
      })
    }